<?php

require_once(APPPATH.'models/component.php');

class pw_form extends Component
{
    public $id          = 'pw_form';
	public $title       = 'Form';
	public $description = 'Simple form';
	public $keywords    = 'form container';

    public $attributes = array(
    	'class' => array(
            "id"        => 'class',
            "example"   => "some-class"
        ),
        'id' => array(
            "id"        => 'id',
            "example"   => "some_id"
        ),
        'show' => array(
            'id'      => 'show',
            'example' => 'true'
        ),
        'action' => array(
            "id"        => 'action',
            "example"   => "entities/save/"
        ),
        'enctype' => array(
            "id"        => 'enctype',
            "example"   => "multipart/form-data"
        ),
        'method' => array(
            "id"        => 'method',
            "example"   => "post"
        )
    );

    public function parseAttributes($post = null)
    {
    	return $post;
    }

} // class pw_form

/* End of file pw_form.class.php */
/* Location: ./components/pw_form/pw_form.class.php */